ifeq (@USE_DOXYGEN@,1)
DOXYGEN=@DOXYGEN_EXE@
endif

TOPDIR = @abs_top_srcdir@
INTERFACES_DIR = @abs_top_srcdir@/xbmc/interfaces
JAVA=@JAVA_EXE@
SWIG=@SWIG_EXE@
LIB=python_binding.a
all: $(LIB)

include ../../../codegenerator.mk

SRCS =	AddonPythonInvoker.cpp \
	CallbackHandler.cpp \
	ContextItemAddonInvoker.cpp \
	LanguageHook.cpp \
	PythonInvoker.cpp \
	XBPython.cpp \
	swig.cpp \
	PyContext.cpp \
	$(GENERATED)

INCLUDES += @PYTHON_CPPFLAGS@
.SECONDARY: $(GENERATED)

include ../../../Makefile.include
-include $(patsubst %.cpp,%.P,$(patsubst %.c,%.P,$(SRCS)))

